﻿<%@ page title="" language="C#" masterpagefile="~/Master/MasterPage1.master" autoeventwireup="true" inherits="ChangePassword, App_Web_5fs20d04" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" Runat="Server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
    <div style="float:left; width:100%;border-bottom: dashed #94C4DA 1px; margin-top:10px">
        <img src="~/../images/news_top.gif" style="padding-left:5px"/>
        <span style="line-height:20px; font-weight:bold; padding:5px">Đổi mật khẩu</span>   
    </div>
    <br />
    <div style="width:100%; clear:both;" align="center">
        <table style="font-family:Arial, Helvetica, sans-serif; font-size:13px; border-collapse:collapse;" cellpadding="0" cellspacing="0" border="0">
            <tr>
                <td style="height:18px"></td>
            </tr>
            <tr>
                <td align="right">Mật khẩu cũ:&nbsp;</td>
                <td>
                    <asp:TextBox ID="txtOldPass" TextMode="Password" runat="server" Width="200px"></asp:TextBox>
                </td>
                <td>
                    <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" 
                        ControlToValidate="txtOldPass" ErrorMessage=" *" InitialValue=" " 
                        ValidationGroup="4"></asp:RequiredFieldValidator>
                </td>
            </tr>
            <tr>
                <td style="height:18px"></td>
            </tr>
            <tr>
                <td align="right">Mật khẩu mới:&nbsp;</td>
                <td>
                    <asp:TextBox ID="txtNewPass" TextMode="Password" runat="server" Width="200px"></asp:TextBox>
                </td>
                <td>
                    <asp:RequiredFieldValidator ID="RequiredFieldValidator2" runat="server" 
                        ControlToValidate="txtNewPass" ErrorMessage=" *" InitialValue=" " 
                        ValidationGroup="4"></asp:RequiredFieldValidator>
                </td>
            </tr>
            <tr>
                <td style="height:18px"></td>
            </tr>
            <tr>
                <td align="right">Nhập lại mật khẩu mới:&nbsp;</td>
                <td>
                   <asp:TextBox ID="txtRetypeNewPass" TextMode="Password" runat="server" Width="200px"></asp:TextBox>
                </td>
                <td>
                    <asp:RequiredFieldValidator ID="RequiredFieldValidator3" runat="server" 
                        ControlToValidate="txtRetypeNewPass" ErrorMessage="*" InitialValue=" " 
                        ValidationGroup="4"></asp:RequiredFieldValidator>
                    <asp:CompareValidator ID="CompareValidator1" runat="server" 
                        ErrorMessage=" Nhập lại mật khẩu mới không đúng!" 
                        ControlToCompare="txtNewPass" ControlToValidate="txtRetypeNewPass" 
                        ValidationGroup="4"></asp:CompareValidator>
                </td>
            </tr>
             <tr>
                <td style="height:10px"></td>
            </tr>
            <tr>
                <td colspan="2" align="right">
                    <asp:Button runat="server" ID="btnChangePassword" Text="Đồng ý" 
                        ValidationGroup="4" onclick="btnChangePassword_Click"></asp:Button>
                </td>
                <td></td>
            </tr>
        </table>
        
    </div>
</asp:Content>

